import React from 'react';
import { Image } from 'react-native';
import { adapt } from '../../utils/ScreenAdapter';

const IconRight = props => (
  <Image
    source={require('../../assets/icon/icon_right.png')}
    style={[
      { width: adapt(16), height: adapt(16), marginHorizontal: adapt(4) },
      props.style || {},
    ]}
  />
);

export default IconRight;
